<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			str="2,2,3,5,6,6";
var strs= new Array(); 

strs=str.split(",");
for (i=0;i<strs.length ;i++ ) 
{ 
document.write(strs[i]+"<br/>");
} 
		</script>
	</body>
</html>
